.class Lcom/waiqin365/lightapp/kehu/cj;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/kehu/c/l;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    const v2, 0x7f080108

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->showProgressDialog(Ljava/lang/String;)V

    return-void
.end method

.method public a(I)V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/p;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/p;->m()Ljava/util/HashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/HashMap;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;I)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cj;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c()V

    goto :goto_0
.end method
